
<form id="form_add">
<fieldset><legend>生产信息</legend>
<table>
	<tr>
		<td align="right">负责人：</td>
		<td><input type="text" name="applicant" id="applicant" value="{[$result.applicant]}:{[$result.applicant_t]}" size="16"></td>
	</tr>
	<tr>
		<td width="20%" align="right">产品：</td>
		<td width="80%"><input type="text" name="mold" id="mold" value="{[$result.mold]}:{[$result.mold_t]}" size="16" title="{[$t.mold]}"></td>
	</tr>
	<tr>
		<td align="right">工件：</td>
		<td><input type="text" name="piece" id="piece" value="{[$result.piece]}" size="25"></td>
	</tr>	
	<tr>
		<td align="right">工作中心：</td>
		<td><input type="text" name="work" id="work" value="{[$result.work]}" size="25"></td>
	</tr>
</table>
</fieldset>

<fieldset><legend>质检报告</legend>
<table>
	<tr>
		<td align="right">质检员：</td>
		<td><input type="text" name="checker" id="checker" value="{[$result.checker]}:{[$result.checker_t]}" size="16"></td>
		<td align="right">报告状态：</td>
		<td><select name='status'>
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
	</tr>
	<tr>
		<td width="20%" align="right">数量：</td>
		<td width="30%"><input type="text" name="amount" id="amount" value="{[$result.amount]}" size="16"></td>
		<td width="20%" align="right">质检日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$result.date|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">原料：</td>
		<td colspan="3"><input type="text" name="material" id="material" value="{[$result.material]}" size="16"></td>
	</tr>
	<tr>
		<td align="right">异常情况：</td>
		<td colspan="3"><textarea rows="2" name="exception" cols="55">{[$result.exception]}</textarea></td>
	</tr>
	<tr>
		<td align="right">解决方案：</td>
		<td colspan="3"><textarea rows="2" name="solution" cols="55">{[$result.solution]}</textarea></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</fieldset>
</form>

<script type="text/javascript"
	src="js/mold/testing/add.js?r={[$smarty.now]}"></script>
